package validadores;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.ValidatorException;
import MBcontrole.MBSelectUF;
import tabelas.controle.Uf.UfDAOImp;

@FacesValidator("ValidadorUF")
public class ValidadorUF {
public void validate(FacesContext context, UIComponent componente,
			Object value) throws ValidatorException {
	
	String ufselected = ((String) value).toString();
	tabelas.controle.Uf.UfDAOImp ufdaoimp = new UfDAOImp();
	MBSelectUF mbselectuf = new MBSelectUF();
	//mbselectuf.cduf = ufdaoimp.localizarUFSelect(ufselected);
	}
}
